<?php

use Illuminate\Database\Seeder;

class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        factory(\App\User::class,10)->create();
        $user = \App\User::find(1);
        $user['name'] ='admin';
        $user['phone']='13604895678';
        $user['is_admin']= 1;
        $user['password']= bcrypt('123456');
        $user->save();
    }
}
